package com.sunyard.constant.manage;

/**
 * @author leib.huang
 * @ClassName: OperatorConst
 * @Description 用户管理常量类
 * @date 2016年5月5日
 */
public final class OperatorConst {

    /**
     * Description
     */
    public final static String NAME = "K_OP_STATUS";
    /**
     * Description
     */
    public final static String OP_ID = "OI";
    /**
     * Description
     */
    public final static String OP_STATUS_ZC = "0";//正常
    /**
     * Description
     */
    public final static String OP_STATUS_ZX = "1";//注销
    /**
     * Description
     */
    public final static String OP_STATUS_JY = "2";//禁用

    /**
     * Description
     */
    private OperatorConst() {
    }

    /**
     * Description
     */
    public static final String LOGIN_OP_INFO_NULL = "获取用户登录信息失败，请重新登录！";
    /**
     * Description
     */
    public static final String LOGIN_OP_INFO_ERROR = "帐号或密码错误！";
    /**
     * Description
     */
    public static final String LOGIN_OP_LOCK_ERROR = "您的账号已被锁定，请联系管理员解锁！";
    /**
     * Description
     */
    public static final String RESET_OP_LOCK_ERROR = "帐号锁重置操作异常！";
    /**
     * Description
     */
    public static final String LOGIN_SYS_ERROR = "系统登陆异常";
    /**
     * Description
     */
    public static final String LOGIN_SYS_SUCCESS = "系统登录成功";
    /**
     * Description
     */
    public static final String OP_NO_PERMISSION_ERROR = "您还没分配权限请联系管理员！";
    /**
     * Description
     */
    public static final String DELETE_USER_SELF_ERROR = "不能删除本人！";
    /**
     * Description
     */
    public static final String DELETE_ADMIN_ERROR = "不能删除系统初始管理员！";
    /**
     * Description
     */
    public static final String FIND_ALL_OPERATOR_ERROR = "查询用户信息失败！";
    /**
     * Description
     */
    public static final String ADD_OPERATOR_ERROR = "新增用户失败！";
    /**
     * Description
     */
    public static final String ADD_OPERATOR_SUCCESS = "新增用户成功！";
    /**
     * Description
     */
    public static final String ADD_WKOPERATOR_ERROR = "新增失败,该机构已经存在工单管理员！";
    /**
     * Description
     */
    public static final String UPDATE_WKOPERATOR_ERROR = "编辑失败,该机构已经存在工单管理员！";
    /**
     * Description
     */
    public static final String UPDATE_OPERATOR_ERROR = "更新用户失败！";
    /**
     * Description
     */
    public static final String UPDATE_OPERATOR_SUCCESS = "更新用户成功！";
    /**
     * Description
     */
    public static final String RESET_OPERATOR_ERROR = "重置密码失败！";
    /**
     * Description
     */
    public static final String RESET_OPERATOR_SUCCESS = "重置密码成功！";
    /**
     * Description
     */
    public static final String DELETE_OPERATOR_ERROR = "删除用户失败！";
    /**
     * Description
     */
    public static final String DELETE_OPERATOR_SUCCESS = "删除用户成功！";
    /**
     * Description
     */
    public static final String PASSWORD_ERROR = "密码输入有误！";
    /**
     * Description
     */
    public static final String PASSWORD_ENCRYPT_ERROR = "密码加密失败！";
    /**
     * Description
     */
    public static final String UPDATE_PASSWORD_ERROR = "修改密码失败！";
    /**
     * Description
     */
    public static final String UPDATE_PASSWORD_SUCCESS = "修改密码成功！";
    /**
     * Description
     */
    public static final String CHECK_OPERATOR_FAIL = "用户名不能重复";
    /**
     * Description
     */
    public static final String CHECK_OPERATOR_ALIVE = "角色名不存在";
    /**
     * Description
     */
    public static final String CHECK_BRANCH_ALIVE = "机构名不存在";
    /**
     * Description
     */
    public static final String CHECK_OPERATOR_SUCCESS = "success";
    /**
     * Description
     */
    public static final String CHECK_OPERATOR_NOTOPEN_STATUS = "不是启用状态不能修改！";
    /**
     * Description
     */
    public static final String CHECK_OPERATOR_STATUS_FAIL = "修改用户状态失败";
    /**
     * Description
     */
    public static final String CHECK_OPERATOR_STATUS_SUCCESS = "修改用户状态成功";
    /**
     * Description
     */
    public static final String CONFIG_OPERATOR_FAIL = "配置用户失败";
    /**
     * Description
     */
    public static final String CONFIG_OPERATOR_SUCCESS = "配置用户成功";
    /**
     * Description
     */
    public static final String CHECK_OPERATOR_RESETPWD_FAIL = "仅超级管理员有此权限！";
    /**
     * Description
     */
    public static final String OPERATOR_ADMIN_FAIL = "不允许对系统默认的系统管理员进行此操作！";
    /**
     * Description
     */
    public static final String OPERATOR_UPDATE_PWD = "请修改密码！";

}
